<?php 

class ConviteModel extends GenericModel{
  
  public function __construct(){
    $this->setTableName('tb_convite');
    parent::__construct();
  }
  
  public function buscarPorUsuario($idCliente){
    $querySql = "SELECT * FROM tb_convite WHERE id_cliente = ?";
    return $this->query($querySql,array($idCliente));
  }
}
?>